[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Thu, 11 Jun 2020 07:52:15 +0000 (09:52 +0200)
committerSalvatore Bonaccorso <carnil@debian.org>
Sun, 23 Aug 2020 13:44:14 +0000 (14:44 +0100)
commit6b260df31d177dd6492a63e28d200a9e5a747b00
treed642cd0d6d1eb21b29333cca9d2d55450f20c941
parentfe78aca3e39aa1fcb1e8607264c096f3e9b90c65
[PATCH] sh: Implement __get_user_u64() required for 64-bit get_user()

Trying to build the kernel with CONFIG_INFINIBAND_USER_ACCESS enabled fails

     ERROR: "__get_user_unknown" [drivers/infiniband/core/ib_uverbs.ko] undefined!

with on SH since the kernel misses a 64-bit implementation of get_user().

Implement the missing 64-bit get_user() as __get_user_u64(), matching the
already existing __put_user_u64() which implements the 64-bit put_user().

Gbp-Pq: Topic bugfix/sh
Gbp-Pq: Name sh-implement-__get_user_u64.patch
arch/sh/include/asm/uaccess_32.h